package catchnthrow;

/**
 * Main class
 */
public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		int plotterPriority = 4;
			
		SM stateMachine = new SM();
		
		Opcom opcom = new Opcom(plotterPriority, stateMachine);
		
		stateMachine.setOpcom(opcom);
		
		opcom.initializeUI();
		
		stateMachine.start();
	}

}
